namespace LuckyLang.AST.Expression;

public class ID : Expression
{
    public string IdName { get; set; }
    public override string ToString() => IdName;
    public ID(string                    idName) => IdName = idName;
    public override bool Equals(object? obj)
    {
        var a = obj as ID;
        return IdName == a.IdName;
    }
    public override Value GetValue(ref VariateManager Manager) => Manager.Get(this);
}